home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++
- Path: news.sprintlink.net!news1!news
- From: John K Gotwals <gotwals@holli.com>
- Subject: Re: Trig functions
- X-Nntp-Posting-Host: laf-ts1-05.holli.com
- Content-Type: text/plain; charset=us-ascii
- Message-ID: <30EC8F7F.7E85@holli.com>
- Sender: news@iquest.net (News Admin)
- Content-Transfer-Encoding: 7bit
- Organization: WL Computer Systems
- References: <4ch9ka$4pc@felix.junction.net>
- Mime-Version: 1.0
- Date: Fri, 5 Jan 1996 02:39:59 GMT
- X-Mailer: Mozilla 2.0b4 (WinNT; I)
-
- Donald Heppner wrote:
- >
- > I need to have a few trig functions in my C++ program. I have found
- > some trig functions, but for some reason, they give the wrong answer
- > (Maybe a different kind of trig). I need tan, cos, sin, and all of these
- > functions to the power of negative one. I need them to give me the same
- > answer as a calculator would.
- >
- > Thanks
- > Donald
-
- Just a shot in the dark, but I assume you know that the C/C++ trig functions
- expect input in radians? Is your calculator set for degrees?
- ** John
-
- --
- I am concerned with the truth. Reality is of little interest to me.
-